MATSUM

Syntax: MATSUM (array[%])
Location: Math Package

This function calculates the sum of all of the elements of the supplied array. 

array can be any floating point or integer array, but  not a string array.  The latter leads to error -15 (bad parameter).

array can be any number of dimensions.

CROSS-REFERENCE:
MATRND initialises an array with random values. 
MATPROD is very similar to MATSUM except that it finds the product of an array's elements. 
MATMEAN finds the mean value of a matrix's values directly.
